package com.dp.appi.util;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

/**
 * Created by Administrator on 2016/9/27.
 */
public class RegularUtil {
    public static Matcher getMatcher(String res,String value){
        Pattern pattern = Pattern.compile(res);
        return pattern.matcher(value);
    }
}
